package mytest;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author xinchuang
 * @version v1.0
 * @date 2021/6/29 13:35
 * @since Copyright(c) 爱睿智健康科技
 */
public class MyTest {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("demo.xml");
		Person person = classPathXmlApplicationContext.getBean(Person.class);
		System.out.println(person);

	}
}
